package com.opencloud.ywt.client.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 城市信息
 * @author yeyong
 */
@TableName("bhyf_bdb_rule")
public class BhyfBdbRule implements Serializable {

    private static final long serialVersionUID= -964202352621690483L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 规则名称
     */
    @ApiModelProperty(value = "规则名称")
    private String rulename;

    /**
     * 评价类型名称
     */
    @ApiModelProperty(value = "评价类型名称")
    private String ruletypename;

    /**
     * 规则等级数
     */
    @ApiModelProperty(value = "规则等级数")
    private Integer rulelevel;


    /**
     * 目标id
     */
    @ApiModelProperty(value = "目标id")
    private Integer objectid;

    /**
     * 规则目标
     */
    @ApiModelProperty(value = "规则目标")
    private String ruleobject;

    /**
     * 评价类型
     */
    @ApiModelProperty(value = "评价类型")
    private Integer ruletype;

    private Integer gid;

    private Integer gradenum;

    private Integer angletype;

    @TableField(fill = FieldFill.INSERT)
    private Date createtime;

    @TableField(fill = FieldFill.UPDATE)
    private Date updatetime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getObjectid() {
        return objectid;
    }

    public void setObjectid(Integer objectid) {
        this.objectid = objectid;
    }

    public String getRulename() {
        return rulename;
    }

    public void setRulename(String rulename) {
        this.rulename = rulename;
    }

    public String getRuletypename() {
        return ruletypename;
    }

    public void setRuletypename(String ruletypename) {
        this.ruletypename = ruletypename;
    }

    public Integer getRulelevel() {
        return rulelevel;
    }

    public void setRulelevel(Integer rulelevel) {
        this.rulelevel = rulelevel;
    }

    public String getRuleobject() {
        return ruleobject;
    }

    public void setRuleobject(String ruleobject) {
        this.ruleobject = ruleobject;
    }

    public Integer getRuletype() {
        return ruletype;
    }

    public void setRuletype(Integer ruletype) {
        this.ruletype = ruletype;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Integer getGradenum() {
        return gradenum;
    }

    public void setGradenum(Integer gradenum) {
        this.gradenum = gradenum;
    }

    public Integer getAngletype() {
        return angletype;
    }

    public void setAngletype(Integer angletype) {
        this.angletype = angletype;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        return "BhyfBdbRule{" +
                "id=" + id +
                ", rulename=" + rulename +
                ", rulelevel=" + rulelevel +
                ", ruleobject=" + ruleobject +
                ", gid=" + gid +
                ", gradenum=" + gradenum +
                ", angletype=" + angletype +
                ", createtime=" + createtime +
                ", updatetime=" + updatetime +
                ", ruletype=" + ruletype +
                ", ruletypename=" + ruletypename +
                ", objectid=" + objectid +
                "}";
    }
}
